package com.cmc.cloud.cmclink.doc.vo.specialcargocasvo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 特种货申请dg下cas信息分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 特种货申请dg下cas信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SpecialCargoCasPageReqVO extends PageParam {

    @Schema(description = "DG货物限制信息ID", example = "26008")
    private Long specialCargoDgId;

    @Schema(description = "CAS组号")
    private String casNoGroup;

    @Schema(description = "化学品唯一编号")
    private String casNo;

    @Schema(description = "最小含量%")
    private BigDecimal minPercent;

    @Schema(description = "最大含量%")
    private BigDecimal maxPercent;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
